
<script type="text/javascript">
function func_login(){

	if($("#txtPass").val() == ""){

		$("#passErr").html('(Vui lòng nhập mật khẩu.)');
		
	}else{
	
		$("#isLogin").val('1');
		return $("#main_form").submit();
		
	}
}
</script>
<section id="login_content">
<form id="main_form" action="/it_center/Users/login" method="POST">
<input type="hidden" id="isLogin" name="isLogin" />
<center><H1>ĐĂNG NHẬP</H1></center>
<table id="edit_table" align="center" style="margin-left: 40x; width:90%;">
	<tr>
		<td class="edit_column">Mật khẩu</td>
		<td>
			<input type="password" name="pass" id="txtPass"/>
			<br/>
			<span class="errMsg" id="passErr">
				<?php if (isset($msg)){?>
					<?php echo $msg;?>
				<?php }?>
			</span>
		</td>
	</tr>
	<tr>
		<td colspan="2" style="text-align: center;">
			<input type="button" value="Đăng Nhập" onclick="func_login()"/>
		</td>
	</tr>
</table>
</form>
</section>